class NewsGroup < ActiveRecord::Base
	belongs_to :news
	belongs_to :group

  def check_text
    case check
      when 1
        '已采用'
      when 2
        '已退回'
      else
        '尚未处理'
    end
  end
end
